package com.ruiyi.adrobot.beans;

import java.util.List;

/**
 * Created by tao.zeng on 2017/6/20.
 */

public class QueueTask {
    private String taskDetailId;
    private Integer fun;
    private List<String> groupNames;
    private TaskDetail.Task task;
    private String startDate; // 限制流程3账号来源
    private String endDate; // 限制流程3账号来源
    private Integer didType; // 0 全国 1 省 2市
    private Fun.Flow.Action action;
    private Integer deviceType; // 0 所有设备 1虚拟设备 2真实设备

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getDidType() {
        return didType;
    }

    public void setDidType(Integer didType) {
        this.didType = didType;
    }

    public Fun.Flow.Action getAction() {
        return action;
    }

    public void setAction(Fun.Flow.Action action) {
        this.action = action;
    }

    public QueueTask(String taskDetailId, Integer fun, List<String> groupNames, TaskDetail.Task task, String startDate, String endDate, Fun.Flow.Action action, Integer didType, Integer deviceType) {
        this.taskDetailId = taskDetailId;
        this.fun = fun;
        this.groupNames = groupNames; // 执行任务组
        this.task = task; // 单个任务信息
        this.startDate = startDate; // 限制第三方账号
        this.endDate = endDate; // 限制第三方账号
        this.action = action; // 流程动作
        this.didType = didType;
        this.deviceType = deviceType;

    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getTaskDetailId() {
        return taskDetailId;
    }

    public void setTaskDetailId(String taskDetailId) {
        this.taskDetailId = taskDetailId;
    }

    public Integer getFun() {
        return fun;
    }

    public void setFun(Integer fun) {
        this.fun = fun;
    }

    public List<String> getGroupNames() {
        return groupNames;
    }

    public void setGroupNames(List<String> groupNames) {
        this.groupNames = groupNames;
    }

    public TaskDetail.Task getTask() {
        return task;
    }

    public void setTask(TaskDetail.Task task) {
        this.task = task;
    }
}
